package com.walkline.app;

import net.rim.device.api.io.transport.TransportInfo;
import net.rim.device.api.ui.Color;
import net.rim.device.api.ui.Font;
import net.rim.device.api.ui.Ui;
import net.rim.device.api.ui.decor.Background;
import net.rim.device.api.ui.decor.BackgroundFactory;

public class WeatherAppConfig
{
	public static final String APP_TITLE = "Weather for you";
	public static final String UNDERLINE = "\u0332";

	public static String queryWeatherRssRequestURL = "http://weather.yahooapis.com/forecastrss";
	public static String queryPlaceRequestURL = "http://where.yahooapis.com/v1/places.q";

	public static final Background bgColor_Gradient=BackgroundFactory.createLinearGradientBackground(Color.GRAY, Color.GRAY, Color.BLACK, Color.BLACK);

	public static int[] preferredTransportTypes = {TransportInfo.TRANSPORT_TCP_WIFI, TransportInfo.TRANSPORT_TCP_CELLULAR, TransportInfo.TRANSPORT_WAP2};
	public static int[] disallowedTransportTypes = {TransportInfo.TRANSPORT_BIS_B, TransportInfo.TRANSPORT_MDS, TransportInfo.TRANSPORT_WAP};

	public static final Font FONT_LIST_TITLE = Font.getDefault().derive(Font.PLAIN, Font.getDefault().getHeight(Ui.UNITS_pt), Ui.UNITS_pt);
	public static final Font FONT_MAIN_TITLE = Font.getDefault().derive(Font.PLAIN, Font.getDefault().getHeight(Ui.UNITS_pt) - 1, Ui.UNITS_pt);
	public static final Font FONT_PLACE_ITEM = Font.getDefault().derive(Font.BOLD, Font.getDefault().getHeight(Ui.UNITS_pt), Ui.UNITS_pt);
}